export interface SupplierTableData {
    name: string;
    code: string;
    shortCode: string;
    type: string | string[];
    permitNumber: string,
    permitExpiryDate: string,
    licenseNumber: string;
    licenseExpiryDate: string;
    address: string;
    phone: string;
    taxRegistrationNumber: string;
    bankName: string;
    accountNumber: string;
    contactPerson: string;
    creditLimit: string;
    creationDate: string;
    usageStatus: string;
}

export interface SupplierFormData extends SupplierTableData {
    level: string;
    type: string[];
}

export interface TableColumn {
    prop: string;
    label: string;
}

export enum BtnText {
    PRINT, // 打印
    ADD_CLASSIFY, // 增加分类
    UPDATE_CLASSIFY, // 修改分类
    DEL_CLASSIFY, // 删除分类
    ADD, // 增加
    UPDATE, // 修改
    DELETE, // 删除
    START, // 启用
    STOP, // 停用
}

export interface FormData {
    level: string;
    code: string;
    name: string;
    simpleCode: string;
}
